// 旅行右上角的叉叉
$('#close-user-app-li-content2').click(function(event) {
	$('.user-app-li-content2').hide("slow");
	$("#user-app-li-2").removeClass("user-app-li-top");
});
//旅行上面的title
// 鼠标移动到每一个旅游的title 上
// 鼠标移动到国内飞机机票
// 移动ul
$('#domestic-plane-ticket-title').mouseenter(function(event) {
	$(this).css('color', 'red');
	$('#international-plane-ticket-title').css('color', '#999');
	$('#hotel-title').css('color', '#999');
	$('#exclusive-ticket-title').css('color', '#999');
	$('#train-ticket-title').css('color', '#999');
	// 移动整体的list
	$('.user-app-li-content2-list').animate({left: '0'},"slow");
});
// 鼠标移动到国际飞机票
$('#international-plane-ticket-title').mouseenter(function(event) {
	$('#domestic-plane-ticket-title').css('color', '#999');
	$(this).css('color', 'red');
	$('#hotel-title').css('color', '#999');
	$('#exclusive-ticket-title').css('color', '#999');
	$('#train-ticket-title').css('color', '#999');
	// 移动整体的list
	$('.user-app-li-content2-list').animate({left: '-300px'});
});
$('#hotel-title').mouseenter(function(event) {
	$('#domestic-plane-ticket-title').css('color', '#999');
	$('#international-plane-ticket-title').css('color', '#999');
	$(this).css('color', 'red');
	$('#exclusive-ticket-title').css('color', '#999');
	$('#train-ticket-title').css('color', '#999');
	// 移动整体的list
	$('.user-app-li-content2-list').animate({left: '-600px'});
});
$('#exclusive-ticket-title').mouseenter(function(event) {
	$('#domestic-plane-ticket-title').css('color', '#999');
	$('#international-plane-ticket-title').css('color', '#999');
	$('#hotel-title').css('color', '#999');
	$(this).css({color: 'red'});
	$('#train-ticket-title').css('color', '#999');
	// 移动整体的list
	$('.user-app-li-content2-list').animate({left: '-900px'});
});
$('#train-ticket-title').mouseenter(function(event) {
	$('#domestic-plane-ticket-title').css('color', '#999');
	$('#international-plane-ticket-title').css('color', '#999');
	$('#hotel-title').css('color', '#999');
	$('#exclusive-ticket-title').css('color', '#999');
	$(this).css({color: 'red',});
	// 移动整体的list
	$('.user-app-li-content2-list').animate({left: '-1200px'});
});
// 国内机票
// 判断时候为单程
if ($('#one-way').attr('checked')) {
	$('.back-time').hide('fast');
	$('.one-way-or-round-trip-arrows').removeClass('one-way-or-round-trip-arrows-2');
}
// 点击往返radio单选按钮
$('#one-way').click(function(event) {
	$('.back-time').hide();
	$('.one-way-or-round-trip-arrows').removeClass('one-way-or-round-trip-arrows-2');
});
// 返回日期的元素
$('#round-trip').click(function(event) {
	$('.back-time').show();
	$('.one-way-or-round-trip-arrows').addClass('one-way-or-round-trip-arrows-2');
});
// 国际机票
// 判断时候为单程
if ($('#one-way-2').attr('checked')) {
	$('.back-time-2').hide('fast');
	$('.one-way-or-round-trip-arrows').removeClass('one-way-or-round-trip-arrows-2');
}
$('#one-way-2').click(function(event) {
	$('.back-time-2').hide('fast');
	$('.one-way-or-round-trip-arrows').removeClass('one-way-or-round-trip-arrows-2');
});
$('#round-trip-2').click(function(event) {
	$('.back-time-2').show();
	$('.one-way-or-round-trip-arrows').addClass('one-way-or-round-trip-arrows-2');
});